<%@ page contentType="text/html; charset=UTF-8" %> 
<%@ page import="net.lunjin.bean.BlackList"%>
<%@ page import="java.util.List" %>
<%@ page import="java.util.ArrayList" %>
<%@page import="net.lunjin.util.Constants"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>


<% List<BlackList> blackList =  (ArrayList<BlackList>) request.getAttribute("blackList"); %>

<body>
<font color="blue"><b>以下是<%=blackList.size() %>条黑名单</b></font><br/><br/>
<%
for(BlackList black : blackList){
%>
ip:<%=black.getIp()%> <a href="delBlackList_<%=black.getId()%>">删除</a><br/>

<%} %>
<br/><br/>
<form action="addBlackList" method="post"/>
		<img src="<%=Constants.URL %>/images/arrow_red.gif" width="4" height="13"> ip：
		<input type="text" id="ip" name="ip" size="20" /><br>
	<input type="submit"/>
</form>


</body>
</html>